<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>链接管理</title>
    <hdjs/>
    <bootstrap/>
    <!-- <css file="__STATIC__/css/common.css"/> -->
    <js file="__CONTROLLER_VIEW__/Js/js.js"/>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="50">fid</td>
            <td width="180">链接名称</td>
            <td width="180">链接地址</td>
            <td width="100">链接描述</td>
            <td width="180">添加时间</td>
            <td width="180">排序</td>
            <td width="180">链接Logo</td>
            <td width="180">是否显示</td>
            <td width="180">操作</td>
        </tr>
        </thead>
        <tbody>
        <foreach from="$data" value="$v">
                <tr>
                    <td width="50">{$v.fid}</td>
                    <td>{$v.fname}</td>
                    <td width="100">{$v.url}</td>
                    <td width="100">{$v.msg}</td>
                    <td width="180">{$v.addtime|hd_date:'Y-m-d H:i:s'}</td>
                    <td width="180">{$v.sort}</td>
                    <td width="100">{$v.logo}</td>
                    <td width="50">{$v.is_show}</td>
                    <td width="150">
                        <a href="{|U:'Flink/edit',array('fid'=>$v['fid'])}" class="btn btn-primary btn-xs">编辑</a>
                        <a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定要删除么？'))location.href='{|U:'Flink/dele',array('fid'=>$v['fid'])}'">删除</a>
                    </td>
                </tr>
        </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
      
    </div>
</div>

</body>
</html>


